package com.gc.business.mapper;

import com.gc.business.domain.AnnualInspection;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 电梯年检管理 数据层
 * 
 * @author hruiyan
 * @date 2020-12-01
 */
public interface AnnualInspectionMapper extends BaseMapper<AnnualInspection> {


    /**
     * 查询任务不同状态下的年检列表
     * @param attrId 所属公司ID
     * @param reviewType 0.待启动 1.待确定 2.确定完成
     * @param headUserId 接取任务的负责人ID
     * @return
     */
    public List<Map<String,Object>> selectAnnualInspectionList(@Param("attrId")Long attrId, @Param("reviewType")String reviewType, @Param("headUserId")Long headUserId);


}